//
//  DYZCustomModal.m
//  findCar
//
//  Created by 毕仲阳 on 16/8/20.
//  Copyright © 2016年 mycompany. All rights reserved.
//

#import "DYZCustomModal.h"
#import "DYZPresentationController.h"

@implementation DYZCustomModal

- (UIPresentationController *)presentationControllerForPresentedViewController:(UIViewController *)presented presentingViewController:(UIViewController *)presenting sourceViewController:(UIViewController *)source
{
    // 这个控制器对象 继承NSObject! 制负责控制器,不负责具体界面展示!
    DYZPresentationController *presentC = [[DYZPresentationController alloc] initWithPresentedViewController:presented presentingViewController:presenting];
    
    return presentC;
}
@end
